import request from "@/utils/request";

// 前七天投票数据
export function week_votes(params: any) {
  return request.get({ url: "/statistics.zg_statistics/week_votes", params });
}

// 订单支付比例
export function proportion(params: any) {
  return request.get({ url: "/statistics.zg_statistics/proportion", params });
}

// 投票活跃地区排行
export function vote_area(params: any) {
  return request.get({ url: "/statistics.zg_statistics/vote_area", params });
}

// 总金额
export function total_amount(params: any) {
  return request.get({ url: "/statistics.zg_statistics/total_amount", params });
}

// 大屏展示活动列表
export function dp_list(params: any) {
  return request.get({ url: "/statistics.zg_statistics/dp_list", params });
}

// 获取ip数列表
export function zg_ip_log(params: any) {
  return request.get({ url: "/activity.zg_ip_log/lists", params });
}
